<?php
namespace catchAdmin\basics\model\search;

trait RouteSearch
{
    public  function searchRouteNameAttr($query, $value, $data)
    {
        return $query->whereLike('route_name',$value);
    }
    public  function searchRouteCodeAttr($query, $value, $data)
    {
        return $query->whereLike('route_code',$value);
    }
}